package com.nijie.library.POJO.modelPOJO;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

public class BorrowInfo {
	 //id
    private  Integer id;
    private Integer bookId;
    private Integer stuId;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date beginTime;
    private Integer bTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    private String status;
    private Integer orderStuId;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getBookId() {
		return bookId;
	}
	public void setBookId(Integer bookId) {
		this.bookId = bookId;
	}
	public Integer getStuId() {
		return stuId;
	}
	public void setStuId(Integer stuId) {
		this.stuId = stuId;
	}
	public Date getBeginTime() {
		return beginTime;
	}
	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}
	public Integer getbTime() {
		return bTime;
	}
	public void setbTime(Integer bTime) {
		this.bTime = bTime;
	}
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public Integer getOrderStuId() {
		return orderStuId;
	}
	public void setOrderStuId(Integer orderStuId) {
		this.orderStuId = orderStuId;
	}
	@Override
	public String toString() {
		return "BorrowInfo [id=" + id + ", bookId=" + bookId + ", stuId=" + stuId + ", beginTime=" + beginTime
				+ ", bTime=" + bTime + ", endTime=" + endTime + ", createTime=" + createTime + ", status=" + status
				+ ", orderStuId=" + orderStuId + "]";
	}
}
